package com.zjsd.sqeybusiness.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 payreturninfo
 * 
 * @author Zheng
 * @date 2025-03-17
 */
public class Payreturninfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退款id */
    private Long returnid;

    /** 会员id */
    @Excel(name = "会员id")
    private Long hyid;

    /** 支付订单id */
    @Excel(name = "支付订单id")
    private Long orderpayid;

    /** 支付订单号 */
    @Excel(name = "支付订单号")
    private String reqsn;

    /** 退款订单号 */
    @Excel(name = "退款订单号")
    private String refundno;

    /** 交易平台退款订单号 */
    @Excel(name = "交易平台退款订单号")
    private String uniquerefundno;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundfee;

    /** 退款申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tksqsj;

    /** 退款完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tkwcsj;

    /** 退款结果0申请中1成功2失败3关闭 */
    @Excel(name = "退款结果0申请中1成功2失败3关闭")
    private String status;

    /** 失败原因 */
    @Excel(name = "失败原因")
    private String errormsg;

    /** 退手续费 */
    @Excel(name = "退手续费")
    private BigDecimal returnfee;

    /** 退款结果通知地址 */
    @Excel(name = "退款结果通知地址")
    private String notifyurl;

    /** 退款备注 */
    @Excel(name = "退款备注")
    private String bz;

    public void setReturnid(Long returnid) 
    {
        this.returnid = returnid;
    }

    public Long getReturnid() 
    {
        return returnid;
    }
    public void setHyid(Long hyid) 
    {
        this.hyid = hyid;
    }

    public Long getHyid() 
    {
        return hyid;
    }
    public void setOrderpayid(Long orderpayid) 
    {
        this.orderpayid = orderpayid;
    }

    public Long getOrderpayid() 
    {
        return orderpayid;
    }
    public void setReqsn(String reqsn) 
    {
        this.reqsn = reqsn;
    }

    public String getReqsn() 
    {
        return reqsn;
    }
    public void setRefundno(String refundno) 
    {
        this.refundno = refundno;
    }

    public String getRefundno() 
    {
        return refundno;
    }
    public void setUniquerefundno(String uniquerefundno) 
    {
        this.uniquerefundno = uniquerefundno;
    }

    public String getUniquerefundno() 
    {
        return uniquerefundno;
    }
    public void setRefundfee(BigDecimal refundfee) 
    {
        this.refundfee = refundfee;
    }

    public BigDecimal getRefundfee() 
    {
        return refundfee;
    }
    public void setTksqsj(Date tksqsj) 
    {
        this.tksqsj = tksqsj;
    }

    public Date getTksqsj() 
    {
        return tksqsj;
    }
    public void setTkwcsj(Date tkwcsj) 
    {
        this.tkwcsj = tkwcsj;
    }

    public Date getTkwcsj() 
    {
        return tkwcsj;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setErrormsg(String errormsg) 
    {
        this.errormsg = errormsg;
    }

    public String getErrormsg() 
    {
        return errormsg;
    }
    public void setReturnfee(BigDecimal returnfee) 
    {
        this.returnfee = returnfee;
    }

    public BigDecimal getReturnfee() 
    {
        return returnfee;
    }
    public void setNotifyurl(String notifyurl) 
    {
        this.notifyurl = notifyurl;
    }

    public String getNotifyurl() 
    {
        return notifyurl;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("returnid", getReturnid())
            .append("hyid", getHyid())
            .append("orderpayid", getOrderpayid())
            .append("reqsn", getReqsn())
            .append("refundno", getRefundno())
            .append("uniquerefundno", getUniquerefundno())
            .append("refundfee", getRefundfee())
            .append("tksqsj", getTksqsj())
            .append("tkwcsj", getTkwcsj())
            .append("status", getStatus())
            .append("errormsg", getErrormsg())
            .append("returnfee", getReturnfee())
            .append("notifyurl", getNotifyurl())
            .append("bz", getBz())
            .toString();
    }
}
